package com.ynny.librarysystemmanager.entity;

public enum BookStatus {

    BORROWED(1,"借阅中"),
    RETURNED(2,"已归还"),

    Overdue(3,"已逾期");

    private Integer code;

    private String info;


    BookStatus(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
